﻿namespace KeRui.URLRewriter.Config
{
    using System;
    using System.Configuration;

    public class UrlConfigElement : ConfigurationElement
    {
        [ConfigurationProperty("destinationUrl", IsRequired=true)]
        public string DestinationUrl
        {
            get
            {
                return (string) base["destinationUrl"];
            }
            set
            {
                base["destinationUrl"] = value;
            }
        }

        [ConfigurationProperty("virtualUrl", IsRequired=true)]
        public string VirtualUrl
        {
            get
            {
                return (string) base["virtualUrl"];
            }
            set
            {
                base["virtualUrl"] = value;
            }
        }
    }
}

